package com.snoob.lixing.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA
 * User: lixing
 * Date: 2018/11/24 22:37
 */
@Controller
@RequestMapping("admin")
public class AdminController {

    @GetMapping("index")
    public String admin() {
        return "/admin/index";
    }
}
